package com.example.aicommunityServer.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 车辆
 * </p>
 *
 * @author author
 * @since 2025-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("car")
public class Car implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 车牌号
     */
    private String carNo;

    /**
     * 房屋编号
     */
    private Integer hId;

    /**
     * 车型描述例如 XX牌越野车
     */
    private String carLicense;

    /**
     * 正常、注销
     */
    private Integer carState;

    /**
     * 车辆排量
     */
    private Float carDisplacement;

    /**
     * 车辆停车位
     */
    private String carParking;

    @TableId(value = "car_id", type = IdType.AUTO)
    private Integer carId;

    /**
     * 住户编号
     */
    private Integer ibId;


}
